package com.woniuxy.kaer;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@EnableTransactionManagement
@MapperScan(basePackages = "com.woniuxy.kaer.shop.mapper")
@EnableFeignClients(basePackages = {"com.woniuxy.kaer.shop", "com.woniuxy.kaer.user"})
public class ShopApp{
    public static void main( String[] args ){
        SpringApplication.run(ShopApp.class,args);
    }


}
